package com.party.core.dao.read.analysis;

import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.analysis.StatisticsMobileEventFlow;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @program: party-temp
 * @description: 统计事件流程数据读取
 * @author: Huaqunhao
 * @create: 2018-08-01 10:53
 **/
@Repository
public interface StatisticsMobileEventFlowReadDao extends BaseReadDao<StatisticsMobileEventFlow> {
    List<StatisticsMobileEventFlow> getByUniqueCode(@Param("uniqueCode") String uniqueCode);

    List<StatisticsMobileEventFlow> findByEventId(@Param("eventId") String eventId,
                                            @Param("params") Map<String, Object> params);

    StatisticsMobileEventFlow getNewFlow(@Param("uniqueCode") String uniqueCode);
}
